package com.ruoyi.system.service.impl;

import java.util.HashSet;
import java.util.List;

import com.ruoyi.system.domain.ExamProjectExamintions;
import feign.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ExamProjectMapper;
import com.ruoyi.system.domain.ExamProject;
import com.ruoyi.system.service.IExamProjectService;

/**
 * 体检套餐Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-05-09
 */
@Service
public class ExamProjectServiceImpl implements IExamProjectService 
{
    @Autowired
    private ExamProjectMapper examProjectMapper;

    /**
     * 查询体检套餐
     * 
     * @param id 体检套餐主键
     * @return 体检套餐
     */
    @Override
    public ExamProject selectExamProjectById(Integer id)
    {
        return examProjectMapper.selectExamProjectById(id);
    }

    /**
     * 查询体检套餐列表
     * 
     * @param examProject 体检套餐
     * @return 体检套餐
     */
    @Override
    public List<ExamProject> selectExamProjectList(ExamProject examProject)
    {
        return examProjectMapper.selectExamProjectList(examProject);
    }

    /**
     * 新增体检套餐
     * 
     * @param examProject 体检套餐
     * @return 结果
     */
    @Override
    public int insertExamProject(ExamProject examProject)
    {
        return examProjectMapper.insertExamProject(examProject);
    }

    /**
     * 修改体检套餐
     * 
     * @param examProject 体检套餐
     * @return 结果
     */
    @Override
    public int updateExamProject(ExamProject examProject)
    {

        return examProjectMapper.updateExamProject(examProject);
    }

    /**
     * 批量删除体检套餐
     * 
     * @param ids 需要删除的体检套餐主键
     * @return 结果
     */
    @Override
    public int deleteExamProjectByIds(Integer[] ids)
    {
        return examProjectMapper.deleteExamProjectByIds(ids);
    }

    /**
     * 删除体检套餐信息
     * 
     * @param id 体检套餐主键
     * @return 结果
     */
    @Override
    public int deleteExamProjectById(Integer id)
    {
        return examProjectMapper.deleteExamProjectById(id);
    }

    @Override
    public List<Integer> selectExamProjectExamintionsList(Integer id) {
        return examProjectMapper.selectExamProjectExamintionsList(id);
    }

    @Override
    public List<ExamProjectExamintions> getExamProgectExamintionsSelect() {
        return examProjectMapper.getExamProgectExamintionsSelect();
    }

    @Override
    public int deleteExamProjectExamintionsList(Integer id) {
        return examProjectMapper.deleteExamProjectExamintionsList(id);
    }

    @Override
    public void insertExamProjectExamintions(ExamProjectExamintions examProjectExamintions) {
        examProjectMapper.insertExamProjectExamintions(examProjectExamintions);
    }

    @Override
    public void deleteExamProjectExamintions(Integer[] ids) {
        examProjectMapper.deleteExamProjectExamintions(ids);
    }

    @Override
    public HashSet<String> getExamintionsProjectName(Integer exId) {
        return examProjectMapper.getExamintionsProjectName(exId);
    }

}
